home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // DialogElement
- //
-
- #include "fli.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #endif
-
- #include <stddef.h>
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // DialogElement Constructor
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- DialogElement::DialogElement()
- {
- X=0;
- Y=0;
- Width=0;
- Height=0;
- Help=NULL;
- FusionHelp=0;
- Last=NULL;
- Next=NULL;
- Blaze=NULL;
- LocX=0;
- LocY=0;
- LocatorText=NULL;
- QuickKey=0;
- GroupCode=0;
- Avail=0;
- }
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // Declarations for virtual functions (if not overridden elsewhere)
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- int DialogElement::Arrival()
- {
- return CompleteEvent;
- }
-
- int DialogElement::Departure()
- {
- return CompleteEvent;
- }
-
- int DialogElement::Validation()
- {
- return CompleteEvent;
- }
-
- int DialogElement::Available()
- {
- if (Avail)
- {
- if (*Avail)
- return CompleteEvent;
- else
- return FailedEvent;
- }
-
- return CompleteEvent;
- }
-
- int DialogElement::Action()
- {
- return CompleteEvent;
- }
-
- DialogElement::~DialogElement()
- {
- // intentionally blank
- }
-
- #pragma warn -par
- void DialogElement::operator+ (char *String)
- {
- return;
- }
- #pragma warn .par
-